﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace Forging2.DataBase.ZH_IMES
{
   public class V_ForgingOperateData
    {
        [Key]
        [StringLength(50)]
        public string GID { get; set; }

        [StringLength(50)]
        public string WORK_CENTER_GID { get; set; }
       
        public int? DIS_CODE_STATE { get; set; }

        [StringLength(50)]
        public string PRODU_CODE { get; set; }

        [StringLength(100)]
        public string PRODU_NAME { get; set; }

        [StringLength(50)]
        public string LOT_CODE { get; set; }

        [StringLength(50)]
        public string ORDER_GID { get; set; }

        [StringLength(50)]
        public string MAKING_ORDER_CODE { get; set; }

        [StringLength(50)]
        public string WORK_CELL_GID { get; set; }

        [StringLength(50)]
        public string WORKCELL_CODE { get; set; }

        [StringLength(50)]
        public string WORKCELL_NAME { get; set; }

        [StringLength(50)]
        public string InFurnace { get; set; }

        [StringLength(50)]
        public string ForgingNO { get; set; }

        [StringLength(50)]
        public string WorkCenterCode { get; set; }

        [StringLength(50)]
        public string WorkCenterName { get; set; }

        [StringLength(50)]
        public string RouteCode { get; set; }

        [StringLength(50)]
        public string RouteName { get; set; }

        [StringLength(50)]
        public string MakingLotNo { get; set; }

        [StringLength(50)]
        public string MakingXS { get; set; }

        [StringLength(50)]
        public string PRODU_SIZE { get; set; }

        public decimal? ORDER_WEIGHT { get; set; }

        public decimal? PROCESS_WEIGHT { get; set; }

        [StringLength(50)]
        public string PORCESS_COMBINE { get; set; }

        public int? ORDER_STATE { get; set; }

        public int? WORK_ORDER_STATE { get; set; }

        public int? PLAN_QTY { get; set; }

        [StringLength(50)]
        public string ROUTE_GID { get; set; }

        public DateTime? PLANNED_START_TIME { get; set; }

        public DateTime? PLANNED_FINISH_TIME { get; set; }

        [StringLength(1)]
        public string ISCOMPLETE { get; set; }

        public int? PLAN_OP_SEQ { get; set; }

        public DateTime CREATE_DATE { get; set; }

        [StringLength(32)]
        public string CREATE_ID { get; set; }

        [StringLength(50)]
        public string MODIFY_ID { get; set; }

        public DateTime MODIFY_DATE { get; set; }

        [StringLength(50)]
        public string FurnaceArea { get; set; }

        public int? LAYER_COUNT { get; set; }

        public int? HEAT_COUNT { get; set; }

        [StringLength(50)]
        public string DISPATCH_CODE { get; set; }

        public int? FurnaceOperateType { get; set; }

        [StringLength(50)]
        public string FurnaceRecGID { get; set; }

        public DateTime? ACTUAL_BEGIN_DATE { get; set; }

        public DateTime? ACTUAL_END_DATE { get; set; }

        public DateTime? OUT_TIME { get; set; }

        public DateTime? IN_TIME { get; set; }

        public static explicit operator V_ForgingOperateData(uex_vtrack_record v)
        {
            throw new NotImplementedException();
        }
    }
}
